package com.fluency.myapplication;

/**
 * Created by liuli on 2017/8/15.
 */

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;


public class HomeActivity extends AppCompatActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setContentView(R.layout.activity_home);
        final HomePageInterface homePageInterface = new HomePageInterfaceImpl();
        View viewById = findViewById(R.id.taocan);
        viewById.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                homePageInterface.onBt1Click(HomeActivity.this);
            }
        });
    }
}

